//
// Created by hanweiguang on 2019-02-16.
// Copyright (c) 2019 hanweiguang. All rights reserved.
//

#import <Foundation/Foundation.h>



// 扩展Color
@interface UIColor (extension)


+ (UIColor *)colorWithString:(NSString *)stringToConvert;

+ (UIColor *)colorWithRGBHex:(UInt32)hex;

+ (UIColor *)colorWithRGBHex:(UInt32)hex alpha:(CGFloat)alpha;

+ (UIColor *)colorWithHexString:(NSString *)stringToConvert;

+ (UIColor *)colorWithHexString:(NSString *)stringToConvert alpha:(CGFloat)alpha;


@end